package main;

public enum ErrorDefine 
{
	E_CHILD_INDEX_WRONG_ERR("child index invalid "),
	E_CHILD_NAME_WRONG_ERR("child name invalid "),
	E_CHILD_NAME_INDEX_WRONG_ERR("child index for this name invalid "),
	E_CANT_WRITE_XML_ERR("can't write xml "),
	E_CANT_READ_EXCEL_ERR("can't read excel "),
	E_DUPLICATE_SCRIPT_ERR("duplicate script "),
	E_COMPLIE_SCRIPT_ERR("complie script error "),
	E_SCRIPT_RUN_ERR("script error "),
	E_CANT_WRITE_FILE_ERR("can't write file "),
	E_TO_XML_ERR("convert to xml error "),
	E_CANT_WRITE_EXCEL_ERR("can't write excel "),
	E_NO_PRE_SCRIPT_ERR("can't find pre script "),
	;
	
	private String m_message;
	
	private ErrorDefine(String message)
	{
		m_message = message;
	}
	
	public String getMessage()
	{
		return m_message;
	}
}
